package com.bdsy.business.controller;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.bdsy.business.service.ShopIdentScanService;

@Controller
@RequestMapping(value = {"${web.adminPath}", "${web.appPath}"})
public class ShopIdentScanController {

	@Autowired
	private ShopIdentScanService shopIdentScanService;
	
	@RequestMapping("/shopIdentScanById")
	@ResponseBody
	public Object shopIdentScanById(int shopId) {
		@SuppressWarnings("rawtypes")
		List<Map> shopIdentScanList = shopIdentScanService.selectShopIdentScanById(shopId);
		return shopIdentScanList;
	}
}
